-- GENERATED SPELL FOR [Veronia] --


function spell0_20162(pUnit, Event) --@Stealth Flight,Self--
pUnit:FullCastSpellOnTarget(34905,pUnit)
pUnit:RegisterEvent('Sorts_20162', 551, 1)
end

function Sorts_20162(pUnit, Event)
local choix_sorts_20162 = math.random(0, 0)
if choix_sorts_20162 == 0 then
pUnit:RegisterEvent('spell0_20162', 1, 1)
end
end

function mob20162_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20162', math.random(1500, 3000), 1)
end

function mob20162_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20162_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20162_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20162, 1, 'mob20162_Action')
RegisterUnitEvent(20162, 2, 'mob20162_Leave')
RegisterUnitEvent(20162, 3, 'mob20162_Kill')
RegisterUnitEvent(20162, 4, 'mob20162_Die')
